﻿<%@ Page Language="C#" MasterPageFile="~/Design/MasterPage/MasterPage.master" AutoEventWireup="true" CodeFile="PersonTrainSrhForm.aspx.cs" Inherits="App_Input_PersonTrainSrhForm" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

<table class="table_border_line">
<tr>
        <td  style="height: 15px;">
                            <script language="javascript">
                                (new TitleBar('SearchBar', '培训申请')).showBar();
                            </script>
        </td>
    </tr>
                    <tr>
                        <td>
                            <asp:GridView ID="GridView" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                                CssClass="GridView_table" DataKeyNames="RowId" OnRowDataBound="GridView_RowDataBound" OnRowEditing="GridView_RowEditing" OnRowDeleting="GridView_RowDeleting"  OnPageIndexChanging="GridView_PageIndexChanging">
                                <Columns>
                                    <asp:BoundField DataField="EmployeeName" HeaderText="姓名">
                                        <ItemStyle CssClass="GridView_item_center" />
                                        <HeaderStyle CssClass="GridView_head_grayblue" Width="10%" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="BeginDate" DataFormatString="{0:yyyy/MM/dd}" HeaderText="开始日期"
                                        HtmlEncode="False">
                                        <ItemStyle CssClass="GridView_item_center" />
                                        <HeaderStyle CssClass="GridView_head_grayblue" Width="15%" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="EndDate" DataFormatString="{0:yyyy/MM/dd}" HeaderText="结束日期"
                                        HtmlEncode="False">
                                        <ItemStyle CssClass="GridView_item_center" />
                                        <HeaderStyle CssClass="GridView_head_grayblue" Width="15%" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="EducateName" HeaderText="培训项目名称">
                                        <ItemStyle CssClass="GridView_item_center" />
                                        <HeaderStyle CssClass="GridView_head_grayblue" Width="20%" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="EducateAmount" HeaderText="预算"  DataFormatString = "{0:N}" HtmlEncode = False>
                                        <ItemStyle CssClass="GridView_item_center" />
                                        <HeaderStyle CssClass="GridView_head_grayblue" Width="15%" />
                                    </asp:BoundField>
                                    <asp:BoundField HeaderText="审批状态">
                                        <ItemStyle CssClass="GridView_item_center" />
                                        <HeaderStyle CssClass="GridView_head_grayblue" Width="15%" />
                                    </asp:BoundField>
                                    <asp:TemplateField HeaderText="详细" ShowHeader="False">
                                        <HeaderStyle CssClass="GridView_head_grayblue"  Width="5%"/>
                                        <ItemStyle CssClass="GridView_item_center" />
                                        <ItemTemplate>
                                        <asp:ImageButton ID="ImageButton2" runat="server" CausesValidation="False" CommandName="Edit"
                                            ImageUrl="~/images/info.gif" Text="Edit"/>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="删除" ShowHeader="False">
                                        <ItemStyle CssClass="GridView_item_center" />
                                        <HeaderStyle CssClass="GridView_head_grayblue" Width="5%" />
                                        <ItemTemplate>
                                            <asp:ImageButton ID="ImageButton1" runat="server" CausesValidation="False" CommandName="Delete"
                                                ImageUrl="~/images/delete.jpg" OnClientClick="return confirm('确定删除吗？')" Text="" />
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                 
                                </Columns>
                                <PagerStyle HorizontalAlign="Right" />
                            </asp:GridView>
                        </td>
                    </tr>
                  </table>
                  <table class="table_border_line">
                    <tr>
                        <td style="width: 384px; height: 24px">
                        </td>
                     
                        <td style="width:80px; height: 24px;">
                    <asp:Button ID="btnNew" runat="server" CssClass="button" Text="新 建" Width="100%" OnClick="btnAdd_Click" />
                    </td>
                        <td style="width: 424px; height: 24px;">
                        </td>
                    </tr>
                </table>
</asp:Content>

